home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1590.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  2.2 KB  |  99 lines

  1. 157
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. MakeShortcut 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows and Macintosh
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baMakeShortcut creates a Windows 95/NT shortcut or Macintosh alias.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. Result = baMakeShortcut( FileName , Path , Title )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. String, String, String. 
  36. --- RECORDSEPARATOR ---
  37. FileName is the file that the shortcut will point to. 
  38. --- RECORDSEPARATOR ---
  39. Path is the folder that the shortcut will be created in. 
  40. --- RECORDSEPARATOR ---
  41. Title is the name of the shortcut.
  42. --- RECORDSEPARATOR ---
  43.  
  44. --- RECORDSEPARATOR ---
  45. Returns:
  46. --- RECORDSEPARATOR ---
  47.  
  48. --- RECORDSEPARATOR ---
  49. I
  50. --- RECORDSEPARATOR ---
  51. nteger. 
  52. --- RECORDSEPARATOR ---
  53. Returns 1 if successful, else 0.
  54. --- RECORDSEPARATOR ---
  55.  
  56. --- RECORDSEPARATOR ---
  57. Examples:
  58. --- RECORDSEPARATOR ---
  59.  
  60. --- RECORDSEPARATOR ---
  61. Director: 
  62. --- RECORDSEPARATOR ---
  63. set OK = baMakeShortcut( "d:\mworld.exe", "c:\windows\desktop", "Multimedia 
  64. --- RECORDSEPARATOR ---
  65. World" ) 
  66. --- RECORDSEPARATOR ---
  67. set OK = baMakeShortcut( "MMCD:MM World", "Mac HD:Desktop Folder", 
  68. --- RECORDSEPARATOR ---
  69. "Multimedia World" ) 
  70. --- RECORDSEPARATOR ---
  71. Authorware: 
  72. --- RECORDSEPARATOR ---
  73. OK := baMakeShortcut( "d:\\mworld.exe" , "c:\\windows\\desktop" , "Multimedia 
  74. --- RECORDSEPARATOR ---
  75. World" )
  76. --- RECORDSEPARATOR ---
  77.  
  78. --- RECORDSEPARATOR ---
  79. Notes:
  80. --- RECORDSEPARATOR ---
  81.  
  82. --- RECORDSEPARATOR ---
  83. On
  84. --- RECORDSEPARATOR ---
  85.  Windows
  86. --- RECORDSEPARATOR ---
  87. , this function is only available in the 32 bit version running under 
  88. --- RECORDSEPARATOR ---
  89. Windows 95 or NT4. If used in 16 bit or under earlier versions of NT, it will do 
  90. --- RECORDSEPARATOR ---
  91. nothing and return 0. 
  92. --- RECORDSEPARATOR ---
  93. On
  94. --- RECORDSEPARATOR ---
  95.  Macintosh
  96. --- RECORDSEPARATOR ---
  97. , if the file the alias points to contains a custom icon, it will not be 
  98. --- RECORDSEPARATOR ---
  99. copied to the alias file. The Finder will update the alias when the file is run.